import request from "@/utils/request";

//列表
export const clsInvoiceList = (data) =>
  request({
    url: `/receipt/cls-invoice/index`,
    method: "post",
    data,
  });
//作废
export const clsInvoiceCancel = (data) =>
  request({
    url: `/receipt/cls-invoice/cancel`,
    method: "post",
    data,
  });

  //下载发票
export const clsInvoiceDownload = (data) =>
request({
  url: `/receipt/cls-invoice/download`,
  method: "post",
  data,
});
  //生成发票
  export const clsInvoiceGenInvoice = (data) =>
  request({
    url: `/receipt/cls-invoice/gen-invoice`,
    method: "post",
    data,
  });
  
